package com.vip8.recorder.service.utils;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/**
 * 线程池
 */
public class ThreadPoolUtil {
    public static ThreadPoolExecutor S3_EXECUTOR = new ThreadPoolExecutor(8, 64
            , 3, TimeUnit.MINUTES, new ArrayBlockingQueue<>(10240), new ThreadPoolExecutor.CallerRunsPolicy());
}
